package com.pavco.caribbeanvisit.client.event;

import com.google.gwt.event.shared.GwtEvent;
import com.pavco.caribbeanvisit.client.eventhandlers.DisplayCountryMarkersEventHandler;

public class DisplayCountryMarkersEvent extends GwtEvent<DisplayCountryMarkersEventHandler> {
  public static final GwtEvent.Type<DisplayCountryMarkersEventHandler> TYPE =
    new GwtEvent.Type<DisplayCountryMarkersEventHandler>();

  @Override
  protected void dispatch(DisplayCountryMarkersEventHandler handler) {
    handler.onMarkersDisplayed(this);
  }

  @Override
  public GwtEvent.Type<DisplayCountryMarkersEventHandler> getAssociatedType() {
    // TODO Auto-generated method stub
    return TYPE;
  }
}
